package job.sanyi;

import java.text.DateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * Author: Zhang Dongwei
 * Date: 2023/8/20 18:14
 * import java.util.Date;
 * import java.text.DateFormat;
 * public class Question {
 * public static void main(String[] args) {
 * DateFormat df;
 * Date date = new Date();/添加一行代码，使编译通过String s = df.format(date);
 * )
 * }
 * 忝加以下哪行代码能使编译通过?
 * df= Date.getFormat();
 * Bdf = new DateFormat();
 * cdf = DateFormat.getlnstance();
 * Ddf = date.getFormat();
 */
public class zj {
    public static void main(String[] args) {
        List<String> list1 = new ArrayList<>();
        List<Integer> list2 = new ArrayList<>();
        System.out.println(list1.getClass( ).equals(list2.getClass()));

    }
}
